<template>
	<view class="idcard">
		<view class="upload">
			<u-upload ref="upload" width="400" height="300" upload-text="上传身份证正面" :action="action" :file-list="fileList"  max-count="1" ></u-upload>
		</view>
		<view class="upload2">
			<u-upload ref="upload2" width="400" height="300" upload-text="上传身份证反面" :action="action" :file-list="fileList"  max-count="1" ></u-upload>
		</view>
		<button type="primary" @click="toidentity">确认</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// 演示地址，请勿直接使用
								action: 'http://www.example.com/upload',
								fileList: [
									 
								]
			}
		},
		methods: {
			toidentity(){
				uni.navigateTo({
					url:'/pages/faceaction/faceaction'
				})
			}
		}
	}
</script>

<style>

</style>
